﻿using System.Collections.Generic;
using Medianamik.Core;

namespace Medianamik.UI.Controls
{
    public class MedianamikImagePicker : BaseImagePicker, IMedianamikControl
    {
        private static readonly string[]_defaultImagePaths = new[] { "~/medianamik/images" };
        protected HashSet<string> _imagePaths;
        protected override HashSet<string> ImagePaths
        {
            get
            {
                if(_imagePaths == null)
                {
                    _imagePaths = new HashSet<string>(_defaultImagePaths);
                }
                return _imagePaths;
            }
        }
    }
}
